package com.kgc.sbt.beans;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * cart
 *
 * @author
 */
@Data
public class Cart implements Serializable {
    /**
     * 购物车id
     */
    @ApiModelProperty(value = "购物车id")
    private Integer carId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    private Integer userId;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品id")
    private Integer productId;

    /**
     * 加入购物车商品数量
     */
    @ApiModelProperty(value = "加入购物车商品数量")
    private Integer quantity;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 是否勾选,1=已勾选,0=未勾选
     */
    @ApiModelProperty(value = "是否勾选,1=已勾选,0=未勾选")
    private Integer checked;

    private static final long serialVersionUID = 1L;
}